package com.kayt.cyberBar.cpublic.business.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cpublic.business.entity.req.vo.PublicReqTypeReqVO;
import com.kayt.cyberBar.cpublic.business.entity.rsp.vo.PublicReqTypeRspVO;

@Path("/reqType")
public interface IPublicReqTypeService {
	@GET
	@Path("getReqTypeList.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<PageData<PublicReqTypeRspVO>> getReqTypeList();

	@POST
	@Path("addReqType.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<PublicReqTypeRspVO> addReqType(PublicReqTypeReqVO reqTypeReqVO);
	
	@POST
	@Path("updateReqType.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<PublicReqTypeRspVO> updateReqType(PublicReqTypeReqVO reqTypeReqVO);
	
	@GET
	@Path("deleteReqType.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<String> deleteReqType(@QueryParam("id")String reqTypeId);
}
